<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Attachment Url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-attachment_url" data-rule="required" class="form-control" size="50" name="row[attachment_url]" type="text" value="{$row.attachment_url|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-attachment_url" class="btn btn-danger faupload" data-input-id="c-attachment_url" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-attachment_url"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-attachment_url" class="btn btn-primary fachoose" data-input-id="c-attachment_url" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-attachment_url"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-attachment_url"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Follow Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="hidden" value="{$order_id}" name="row[order_id]">
            <textarea id="c-follow_content" data-rule="required" class="form-control " rows="5" name="row[follow_content]" cols="50">{$row.follow_content|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Follow Type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
            {foreach name="typeList" item="vo"}
            <label for="row[follow_type]-{$key}"><input id="row[follow_type]-{$key}" name="row[follow_type]" type="radio" value="{$key}" {in name="key" value="$row.follow_type"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
